package mvc.helix;

import mvc.CurveModel;

import org.geom.curve.Helix;

public class HelixModel extends CurveModel {


	//-------------------------------------------------------- constructor
	public HelixModel(Helix curve) {
		super(curve);
	}
	
	//-------------------------------------------------------- Helix
	
	protected float getK() {
		return ((Helix) curve).getK();
	}
	protected float getR() {
		return ((Helix) curve).getR();
	}
	protected void setK(float k) {
		((Helix) curve).setK(k);
		dirty = true;
	}
	protected void setR(float r) {
		((Helix) curve).setR(r);
		dirty = true;
	}
	protected float getMAXT() {
		return ((Helix) curve).getMaxt();
	}
	protected void setMAXT(float m) {
		((Helix) curve).setMaxt(m);
		dirty = true;
	}
	

}
